package com.ltkj.shop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;

/**
 * 餐饮菜品类型对象 shop_rest_menu_type
 * 
 * @author xupf
 * @date 2023-10-07
 */
@ApiModel(value = "餐饮菜品类型")
public class ShopRestMenuType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜品类型id */
    @ApiModelProperty("菜品类型id")
    private Long id;

    /** 餐饮商户id */
    @Excel(name = "餐饮商户id")
    @ApiModelProperty("餐饮商户id")
    private Long restaurantId;

    /** 类型名称 */
    @Excel(name = "类型名称")
    @ApiModelProperty("类型名称")
    private String typeName;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    private Integer orderNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRestaurantId(Long restaurantId) 
    {
        this.restaurantId = restaurantId;
    }

    public Long getRestaurantId() 
    {
        return restaurantId;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("restaurantId", getRestaurantId())
            .append("typeName", getTypeName())
            .append("orderNum", getOrderNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
